using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SocialPlatforms.Impl;
using UnityEngine.UI;

public class Over : MonoBehaviour
{
    [SerializeField] private Text TextScore;
    [SerializeField] private Text TextBest;

    public void GameOver(int score)
    {
        TextScore.text = score.ToString();
        TextBest.text = GameMgr.GetInstance().Save.BestNum.ToString();
    }
}
